<%--
  Created by IntelliJ IDEA.
  User: d11yu
  Date: 2022/4/10
  Time: 9:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    1.协议：${pageContext.request.scheme} 、<%=request.getScheme()%><br>
    2.服务器ip：${pageContext.request.serverName}、<%=request.getServerName()%> <br>
    3.服务器端口：${pageContext.request.serverPort}、<%=request.getServerPort()%> <br>
    4.工程路径：${pageContext.request.contextPath}、<%=request.getContextPath()%> <br>
    5.请求方法：${pageContext.request.method}、<%=request.getMethod()%> <br>
    6.客户端ip：${pageContext.request.remoteHost}、<%=request.getRemoteHost()%> <br>
    7.会话id：${pageContext.session.id}、<%=session.getId()%> <br>
</body>
</html>
